package com.sjd.mall.service.account;

import com.sjd.mall.domain.SjdAccountDO;

/**
 * @ProjectName: sjd
 * @Package: com.sjd.protal.account.service
 * @ClassName: AccountService
 * @Author: genglong
 * @Description:
 * @Date: 2022/1/11 10:30
 * @Version: 1.0
 */
public interface AccountService {

    /**
     * 创建会员账户信息
     * @param memberId memberId
     * @return
     */
    SjdAccountDO createAccount(Long memberId);

    /**
     * 查询会员账户信息
     * @param memberId memberId
     * @return
     */
    SjdAccountDO findAccountByMemberId(Long memberId);

    /**
     * 修改会员账户信息
     * @param sjdAccountDO
     * @return
     */
    Integer updateAccount(SjdAccountDO sjdAccountDO);

}
